package lab02.test35;

public class Manager extends Employee {

    @Override
    void setInformation(String name, int age) {
        this.name = name;
        this.age = age;
    }

    @Override
    void getInformation() {
        System.out.println("经理的基本信息:" + "姓名:" + name + " 年龄:" + age);
    }

    @Override
    void setSalary(int salary) {
        this.salary = salary;
    }

    @Override
    void getSalary() {
        System.out.println("经理的基本工资:" + salary);
    }

    @Override
    void computeSalary() {
        System.out.println("经理的总工资:" + salary);
    }
}
